package br.edu.unifei.cct810.projetofinal.utils;

import java.io.File;

public class Filtro extends javax.swing.filechooser.FileFilter {

	@Override
	public boolean accept(File file) {
		String filename = file.getName();
		return filename.endsWith(".txt");
	}

	@Override
	public String getDescription() {
		return "*.txt";
	}
}
